package com.seu.design.pattern.creational.factorymethod;

/**
 * Created by seu-lfh
 */
public class Test {

    public static void main(String[] args) {
        VideoFactory videoFactory = new PythonVideoFactory();
        VideoFactory videoFactory2 = new JavaVideoFactory();
        VideoFactory videoFactory3 = new FEVideoFactory();
        Video video = videoFactory.getVideo();
        video.produce();
        Video video1 = videoFactory2.getVideo();
        video1.produce();
        Video video2 = videoFactory3.getVideo();
        video2.produce();
    }

}
